package com.example.demo.service;

import com.example.demo.entity.Topic;
import com.example.demo.entity.TopicOption;

import java.util.List;

public interface Topicservice {
    public List<Topic> list(String name);
    public void add (TopicOption topicOption);
    public void update (TopicOption topicOption);
    public void del (Integer[] ids);
    public TopicOption listoption(Integer tid);

    TopicOption getTopicOption(Integer tid);
}
